package v2.parser

/**
 * @author bweber
 * @version $Rev$, $Date$
 */

class TypeRef private (val sname:Symbol) extends Value {
  override def toString() = {
    "ref to type " + sname.name
  }
  
  def name():String = {
    sname.name
  }
  
  def getType() = {
    Type(this)
  }
}

object TypeRef {
  def apply(name:String) = {
    new TypeRef(Symbol(name))
  }
}